/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Generate;



/**
 *
 * @author Roderick
 */
public class LoadFile {

    String file = "";
    String file_aux = "";

    public LoadFile(String path) {
        file = UtilFile.readFile(path);
        file_aux = file;
    }

    public void setBlank() {
        file_aux = file;
    }

    public void replace(String key, String value) {
        file_aux = file_aux.replace(key, value);
    }
    
    public void replace_main(String key, String value) {
        file_aux = file_aux.replace(key, value);
        file = file.replace(key, value);
    }

    

    public String getPtl() {
        return file_aux;
    }
}
